import java.util.Scanner;

public class java13 {
    public static void main(String[] args) {
       Scanner sc=new Scanner(System.in);
        int i =sc.nextInt();
        if(i==1){
            System.out.println("是星期一");
        }else if(i==2){
            System.out.println("是星期二");
        } else if(i==3){
            System.out.println("是星期三");
        }else if(i==4){
            System.out.println("是星期四");
        }else if(i==5){
            System.out.println("是星期五");
        }else if(i==6){
            System.out.println("是星期六");
        }else if(i==7){
            System.out.println("是星期日");
        }

    }
}
